 package com.study.bean;
/*
 * 商品信息表
 */
public class Commodity {

	private Integer cid;//商品id
	private	String cname;//商品名称
	private	String cmain_img;//商品主图片
	private String cdescribe;//商品描述
	private	Integer tid;//类别id
	private String lname;//类别名称
	private	Integer bid;//品牌id
	private String bname;//品牌名称
	private	Integer isup;//上下架状态
	private	String aspect;//̬商品特征状态

	
	public Commodity() {
		// TODO Auto-generated constructor stub
	}

	public Commodity(Integer cid, String cname, String cmain_img, String cdescribe, Integer tid, String lname,
			Integer bid, String bname, Integer isup, String aspect) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.cmain_img = cmain_img;
		this.cdescribe = cdescribe;
		this.tid = tid;
		this.lname = lname;
		this.bid = bid;
		this.bname = bname;
		this.isup = isup;
		this.aspect = aspect;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getCmain_img() {
		return cmain_img;
	}

	public void setCmain_img(String cmain_img) {
		this.cmain_img = cmain_img;
	}

	public String getCdescribe() {
		return cdescribe;
	}

	public void setCdescribe(String cdescribe) {
		this.cdescribe = cdescribe;
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public Integer getBid() {
		return bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

	public String getBname() {
		return bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public Integer getIsup() {
		return isup;
	}

	public void setIsup(Integer isup) {
		this.isup = isup;
	}

	public String getAspect() {
		return aspect;
	}

	public void setAspect(String aspect) {
		this.aspect = aspect;
	}

	@Override
	public String toString() {
		return "Commodity [cid=" + cid + ", cname=" + cname + ", cmain_img=" + cmain_img + ", cdescribe=" + cdescribe
				+ ", tid=" + tid + ", lname=" + lname + ", bid=" + bid + ", bname=" + bname + ", isup=" + isup
				+ ", aspect=" + aspect + "]";
	}
	

}
